package org.deng.learn.basic.sort;

/**
 * @author DengLibin
 * @Description
 * @Date 2018/11/6 0006 11:54
 */
public class Sort {

    public  static  void  swap(int[] arr, int x, int y){
        int temp = arr[x];
        arr[x] = arr[y];
        arr[y] = temp;
    }

    public  static void showArr(int[] arr){
        for(int i = 0; i < arr.length; i++){
            System.out.print(arr[i]+",");
        }
    }
}
